package com.example.demo.controller;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class UserController {
    @RequestMapping("/hello")
    @ResponseBody
    public String Hello() {
        return "Hello";

    }
    @RequestMapping("/testJenkins")
    @ResponseBody
    public String TestJenkins() {
        return "TestJenkins";
    }
}
